<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.springframework.org/schema/beans
       http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">


  <bean id="propertyConfigurer"
    class="org.encuestame.core.config.EnMePlaceHolderConfigurer">
    <property name="ignoreResourceNotFound" value="true"/>
    <property name="locations">
        <list>
          <value>classpath:/org/encuestame/core/config/encuestame-config.properties</value>
          <value>classpath:encuestame-config-custom.properties</value>
          <value>classpath:/org/encuestame/core/config/version.properties</value>
        </list>
    </property>
  </bean>

   <!-- Message Resources -->
    <bean id="messageSource"
        class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
         <property name="basename" value="/WEB-INF/messages/messages" />
          <property name="defaultEncoding" value="UTF-8"/>
          <property name="cacheSeconds" value="1"/>
    </bean>

   <!--  <bean id="log4jInitializer"
        class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
        <property name="staticMethod"
            value="org.springframework.util.Log4jConfigurer.initLogging" />
        <property name="arguments">
            <list>
                <value>classpath:log4j.properties</value>
            </list>
        </property>
    </bean> -->

</beans>
